package api

import (
	"gfrest/common/base"
	"gfrest/web/app/service"

	"github.com/gogf/gf/net/ghttp"
)

type PermController struct{}

// ListPerm ListPerm
// @Summary auth_group list
// @Description auth_group list
// @Tags auth_group
// @router /admin/auth_group/list-perm [get]
// @Security ApiKeyAuth
func (c *PermController) ListPerm(r *ghttp.Request) {
	base.Success(r, service.AllPerm)
}
